<?php

class AdminController extends Controller
{
	public function actionIndex()
	{
		$model = new UserStatus();
		if (isset($_GET['UserStatus'])) {
			$model->attributes = $_GET['UserStatus'];
		}
		if(!isset($_GET['ajax']))
			$this->render('index',array('model'=>$model));
		else 
			$this->renderPartial('index',array('model'=>$model));
	}
}